package com.css.zfzx.sjcj.modules.qhriskvisualshow.repository;

import com.css.zfzx.sjcj.modules.qhriskvisualshow.repository.entity.QhProbabilityEarthquakeDangerEntity;
import com.css.zfzx.sjcj.modules.qhriskvisualshow.viewobjects.QhProbabilityEarthquakeDangerQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author andy
 * @date 2021-01-26
 */
public interface QhProbabilityEarthquakeDangerNativeRepository {

    Page<QhProbabilityEarthquakeDangerEntity> queryQhProbabilityEarthquakeDangers(QhProbabilityEarthquakeDangerQueryParams queryParams, int curPage, int pageSize);

    public List<QhProbabilityEarthquakeDangerEntity> listQhProbabilityEarthquakeDangers(QhProbabilityEarthquakeDangerQueryParams queryParams);

    public int lookUpQhProbabilityEarthquakeDangers(QhProbabilityEarthquakeDangerQueryParams queryParams, boolean isNewTable);

    public Page<QhProbabilityEarthquakeDangerEntity> queryQhProbabilityEarthquakeDangersByFileNameJDBC(QhProbabilityEarthquakeDangerQueryParams queryParams, int curPage, int pageSize, String sort, String order);

    public List<QhProbabilityEarthquakeDangerEntity> searchProbabilityEarthquakeDangersByJDBC(QhProbabilityEarthquakeDangerQueryParams queryParams);

    //zyt--查询数据的UUID列表
    public List<String> listQhProbabilityEarthquakeDangersUuidsByJDBC(QhProbabilityEarthquakeDangerQueryParams queryParams);
}
